﻿using Mengsk.ProxyDelivery.App.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Media;

namespace Mengsk.ProxyDelivery.App.Service
{
    class ColorTypeService
    {
        public static ColorType[] GetAllColorTypes()
        {
            List<ColorType> types = new List<ColorType>();

            types.Add(new ColorType("黑色", 0, 0, 0));

            types.Add(new ColorType("白色", 0xFF, 0xFF, 0xFF));
            types.Add(new ColorType("象牙白色", 0xFF, 0xFF, 0xF0));
            types.Add(new ColorType("米白色", 0xF5, 0xF5, 0xF0));

            types.Add(new ColorType("灰色", 0x80, 0x80, 0x80));
            types.Add(new ColorType("深灰色", 0xC0, 0xC0, 0xC0));
            types.Add(new ColorType("浅灰色", 0xFF, 0xFF, 0xF0));
            types.Add(new ColorType("冷灰色", 0x80, 0x8A, 0x87));
            types.Add(new ColorType("银色", 0xE6, 0xE6, 0xD7));


            types.Add(new ColorType("棕褐色", 0x5E, 0x26, 0x12));
            types.Add(new ColorType("巧克力色", 0xA0, 0x5C, 0x2D));
            types.Add(new ColorType("咖啡色", 0x6A, 0x4B, 0x23));
            types.Add(new ColorType("深卡其布色", 0xBD, 0xB7, 0x6B));
            types.Add(new ColorType("驼色", 0xB5, 0x84, 0x53));


            types.Add(new ColorType("红色", "#FF0000"));
            types.Add(new ColorType("粉红色", "FFC0CB"));
            types.Add(new ColorType("酒红色", "821E32"));
            types.Add(new ColorType("玫红色", "FF215E"));
            types.Add(new ColorType("肉粉色", "FA8072"));

            types.Add(new ColorType("橙色", "FF8000"));
            types.Add(new ColorType("橙红色", "FF4500"));
            types.Add(new ColorType("橙黄色", "ED9121"));
            types.Add(new ColorType("土黄色", "D6A936"));
            types.Add(new ColorType("香槟色", "E2CE55"));

            types.Add(new ColorType("黄色", "FF0"));
            types.Add(new ColorType("中黄色", "FFD800"));
            types.Add(new ColorType("淡黄色", "FDFC82"));
            types.Add(new ColorType("杏色", "E6FC8F"));
            types.Add(new ColorType("金色", "F2C056"));

            types.Add(new ColorType("紫色", "800080"));
            types.Add(new ColorType("深紫色", "4B0082"));
            types.Add(new ColorType("浅紫色", "B280F7"));
            types.Add(new ColorType("紫罗兰色", "C71585"));
            types.Add(new ColorType("紫红色", "F0F"));


            types.Add(new ColorType("蓝色", "1E90FF"));
            types.Add(new ColorType("深蓝色", "00008B"));
            types.Add(new ColorType("宝蓝色", "00F"));
            types.Add(new ColorType("天蓝色", "00BFFF"));
            types.Add(new ColorType("浅蓝色", "A8CEFA"));

            types.Add(new ColorType("绿色", "228B22"));
            types.Add(new ColorType("墨绿色", "004630"));
            types.Add(new ColorType("军绿色", "556B2F"));
            types.Add(new ColorType("浅绿色", "90EE90"));
            types.Add(new ColorType("抹茶绿色", "C7FF2F"));

            for (int i = 0; i < types.Count; i++)
            {
                types[i].Id = i + 1;
            }

            return types.ToArray();
        }
    }
}
